package com.fortune.dto.in.cOrder;
/**
 * 
 * @author ran
 *
 */

import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.List;

public class COrderSubmitDto {
	@ApiModelProperty(example = "经销商id")
	private String did;
	@ApiModelProperty(example = "商品总金额")
	private BigDecimal pTotalPrice;
	@ApiModelProperty(example = "押金总金额")
	private BigDecimal dTotalPrice;
	private List<COrderProductDto> products;

	public String getDid() {
		return did;
	}

	public void setDid(String did) {
		this.did = did;
	}

	public BigDecimal getpTotalPrice() {
		return pTotalPrice;
	}

	public void setpTotalPrice(BigDecimal pTotalPrice) {
		this.pTotalPrice = pTotalPrice;
	}

	public BigDecimal getdTotalPrice() {
		return dTotalPrice;
	}

	public void setdTotalPrice(BigDecimal dTotalPrice) {
		this.dTotalPrice = dTotalPrice;
	}

	public List<COrderProductDto> getProducts() {
		return products;
	}

	public void setProducts(List<COrderProductDto> products) {
		this.products = products;
	}

	@Override
	public String toString() {
		return "COrderSubmitDto{" +
				"did='" + did + '\'' +
				", pTotalPrice=" + pTotalPrice +
				", dTotalPrice=" + dTotalPrice +
				", products=" + products +
				'}';
	}
}
